//
//  KNViewController.m
//  KNBaseModule
//
//  Created by Mfk759853063 on 01/24/2019.
//  Copyright (c) 2019 Mfk759853063. All rights reserved.
//

#import "KNViewController.h"
#import "KNBaseModule-Swift.h"
#import <KNBaseModule-umbrella.h>
#import "KNBaseModule_Example-Swift.h"

@interface KNViewController ()

@end

@implementation KNViewController

- (BOOL)needBackItem {
    return YES;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    [((KNNavigationController *)self.navigationController) congigureNavigationBarForViewController:self];
    self.title = @"ssss";
	// Do any additional setup after loading the view, typically from a nib.
    
//    [self.view KNMakeToast:@"hello world" completion:^(BOOL didTap) {
//        if (didTap) {
//            KNDLog(@"didTaped");
//        } else {
//            KNDLog(@"didNotTaped");
//        }
//    }];
//    [KNHelper KNShowHud:@"world"];
    
//     * vc = [[<#type#> alloc] init];
//    vc.hidesBottomBarWhenPushed = YES;
//    [self.navigationController pushViewController:vc animated:YES];
    
    

}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    KNTestViewController * vc = [[KNTestViewController alloc] init];
    [((KNNavigationController *)self.navigationController) congigureNavigationBarForViewController:vc];
    vc.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
